package com.blackhorse.service;

import com.blackhorse.domain.Account;

import java.util.List;

public interface AccountService {
    List<Account> findAllAccount();

    Account findAccountById(int id);

    void saveAccount(Account account);

    void updateAccount(Account account);

    void deleteAccount(int id);

    void transter(String srcName, String tarName, float money);
}
